import { Injectable } from '@angular/core';
import { Http } from '@angular/http';

@Injectable()

export class FriendProvider{

    constructor(private http:Http){}


    get(param){
        return this.http.get('/api/friend/get',{search:param});
    }
}